<template>
<div>
   <div class="wou">
    <div class="hang">
      <div class="elm">饿了么</div>
      <div class="yuan">
        <span class="iconfont icon-gengduo-01"></span>
        <span class="s1">|</span>
        <span class="iconfont icon-guangpan"></span>
      </div>
    </div>
    <div class="hang2">
        <div class="h1">
            <img src="../assets/饿了么_我的_03.gif" alt="">
        </div>
        <div class="h2">
                <div>7a9aa5a077a</div>
                <div>136****9070</div>
        </div>
        <div class="h3">账户设置</div>
    </div>
  </div>
    <div class="tu1">
      <div>
        <div class="tuwen">
          <span>吃货卡</span>
          <span> | </span>
          <span>吃货豆：</span>
          <span>1461</span>
        </div>
        <div class="tuc">升级招级吃货卡.每月得无门档红包.下单5倍返吃货豆</div>
      </div>
      <div class="iconfont icon-youjiantou-01"></div>
    </div>
    <div class="tu2">
      <div >
        <div class="qwe"><span class="iconfont icon-31"></span><span class="zxc">红包</span></div>
        <div>7张今日到期</div>
      </div>
      <div>
        <div class="qwe"><span class="iconfont icon-31"></span><span class="zxc">余额</span></div>
        <div>0元</div>
      </div>
    </div>
    <div class="heng">
      <div class="he1">常用工具</div>
      <div class="he2">
        <div class="div1" v-for="(item, index) in nei" :key="index">
          <div :class="{ iconfont: true, [item.icon]: true }"></div>
          <div>{{ item.text }}</div>
        </div>
      </div>
    </div>
    <div class="heng2">
      <div class="hz1">
        <div class="zx2">邀好友赚现金</div>
        <div class="zx3">最高得15元</div>
        <div class="zx4"><span class="iconfont icon-31"></span></div>
        <div>
          <span class="zx11">去邀请</span>
          <span class="zx12">查佣金</span>
        </div>
      </div>
      <div class="hz1">
        <div class="zx2">饿了么服务号</div>
        <div class="zx3">关注后及时接收系统通知</div>
        <div class="zx4"><span class="iconfont icon-31"></span></div>
        <div>
          <span class="zx1">立即关注</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import {ref} from 'vue'
var nei=ref([
        { id: 1, icon: "icon-infenicon18", text: "我的地址" },
        { id: 1, icon: "icon-kefu", text: "我的客服" },
        { id: 1, icon: "icon-shoucang", text: "店铺关注" },
        { id: 1, icon: "icon-28", text: "评价有礼" },
      ])
</script>

<style scoped>
.wou{
    padding: 20px;
    background-color: #f5f5f5;
    height: 120px;
}
.hang {
  display: flex;
  justify-content: space-between;
}
.hang div:nth-child(1) {
  width: 90px;
  height: 40px;
}
.yuan {
  width: 90px;
  height: 30px;
  border-radius: 20px;
  background-color: #fbfbfb;
  text-align: center;
  line-height: 30px;
  padding: 5px;
}
.iconfont {
  font-size: 26px;
}
.s1 {
  font-size: 26px;
}
.icon-gengduo-01 {
  margin-right: 5px;
}
.icon-guangpan {
  margin-left: 5px;
}
.elm {
  font-size: 24px;
  font-weight: bold;
}
.hang2{
    margin-top: 10px;
}
.hang2 img{
    width: 90px;
    vertical-align: middle;
}
.h1,.h2{
    float: left;
}
.hang2 .h2{
    margin-top: 25px;
    margin-left: 10px;
}
.hang2 .h2 div:nth-child(1){
    font-size: 20px;
    font-weight: bold;
}
.h3{
    width: 100px;
    height: 30px;
    border-radius: 15px;
    border: 2px solid #cccccc;
    text-align: center;
    line-height: 30px;
    float: right;
    margin-top: 30px;
}
.tu1 {
  height: 60px;
  border-radius: 10px;
  background-color: #4ba3f1;
  padding: 10px;
  color: white;
  display: flex;
  justify-content: space-between;
}
.tuwen span:nth-child(1){
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
}
.tuwen span:nth-child(2){
  font-size: 24px;
  margin-right: 10px;
}
.tuwen span:nth-child(3){
  font-weight: bold;
}
.tuwen span:nth-child(4){
  font-size: 24px;
  font-weight: bold;
}
.tuc{
  font-size: 14px;
  margin-top: 5px;
}
.icon-youjiantou-01{
  margin-top: 20px;
}
.tu2 {
  height: 60px;
  border-radius: 10px;
  background-color: #fff;
  margin-top: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
}
.icon-31{
  font-size: 26px;
  color: red;
}
.zxc{
  font-size: 20px;
  font-weight: bold;
}
.qwe{
  margin-bottom: 10px;
}
.wude {
  padding: 0 20px;
  background-color: #f5f5f5;
  height: 300px;
}
.heng {
  height: 100px;
  border-radius: 10px;
  background-color: white;
  padding: 10px;
}
.he1 {
  font-weight: bold;
  font-size: 20px;
}
.he2 {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
}
.iconfont {
  font-size: 22px;
}
.hz1{
  width: 160px;
  height: 200px;
  border-radius: 15px;
  background-color: white;
  margin-top: 5px;
  padding: 10px;
}
.zx2{
  font-size: 18px;
  font-weight: bold;
}
.zx3{
  font-size: 14px;
 color: rgb(197, 193, 193);
}
.icon-31{
  font-size: 30px;
  color: red;
}
.zx4{
  width: 170px;
  height: 80px;
  background-color: antiquewhite;
  text-align: center;
  line-height: 80px;
}
.zx11,.zx12,.zx1{
  display: inline-block;
  width: 60px;
  height: 30px;
  border: 1px solid;
  border-radius: 15px;
  text-align: center;
  line-height: 30px;
  margin-top: 5px;
}
.zx11{
  margin-right: 35px;
}
.zx1{
  width: 80px;
  margin-left: 35px;
}
.heng2{
  display: flex;
  justify-content: space-between;
}
</style>